<?php
	$action = $_GET["action"];
	switch($action){
		case "left":
?>
{
	"success":true,
    "msg":"成功",
    "result":{
    	"total":10,
        "page":5,
        "items":[
        	{
            	"name":"你好"
            }
        ]
    }
}
<?php
	break;
	case "right":
?>
{
	"success":true,
    "msg":"不错哦",
    "result":{
    	"total":1,
        "page":1,
        "items":[
        	{
            	"name":"你好"
            }
        ]
    }
}
<?php
	break;
	}
?>